
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class FuncallExpression extends Expression {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getFuncallExpressionType();
	}
	
	protected Identifier name;
	protected org.xteam.parser.runtime.AstList<Expression> arguments;
	
	public FuncallExpression(Span span, Identifier name,org.xteam.parser.runtime.AstList<Expression> arguments) {
		super(span);
		this.name = name;
		this.arguments = arguments;
	}
	
	
	public Identifier getName() {
		return name;
	}
	
	public void setName(Identifier name) {
		this.name = name;
	}
	
	public org.xteam.parser.runtime.AstList<Expression> getArguments() {
		return arguments;
	}
	
	public void setArguments(org.xteam.parser.runtime.AstList<Expression> arguments) {
		this.arguments = arguments;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitFuncallExpression(this);
	}
}
